import NotFound from '@/components/not-found.vue'

/**
 * 固定路由
 */
export const constantRoutes = [
  {
    path: '/',
    redirect: '/screen',
  },
  {
    path: '/screen',
    name: 'screen',
    component: () => import('@/views/screen/index/index.vue'),
    meta: {
      title: '重庆网信高质量发展报表大屏',
      layout: 'screen',
      needAuth:false
    }
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login.vue'),
    meta: {
      title: '登录',
      layout: 'blank'
    }
  },
  { path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound }
]
